home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000314_ofer@gandalf.Berkeley.EDU_Mon, 14 Feb 94 09:16:20 PST.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from gandalf.Berkeley.EDU by cs.umb.edu with SMTP id AA24968
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 14 Feb 1994 12:59:53 -0500
  3. Received: from aragorn.Berkeley.EDU by gandalf.Berkeley.EDU (4.1/SMI-4.1)
  4.     id AA18269; Mon, 14 Feb 94 09:16:20 PST
  5. Date: Mon, 14 Feb 94 09:16:20 PST
  6. From: ofer@gandalf.Berkeley.EDU (Ofer Licht)
  7. Message-Id: <9402141716.AA18269@gandalf.Berkeley.EDU>
  8. To: tex-k@cs.umb.edu, simon@lia.di.epfl.ch
  9. Subject: Re: xdvik-1.6 weird behaviour with SunPro acc on Solaris 2.3
  10.  
  11. > From: simon@lia.di.epfl.ch (Simon Leinen)
  12. > To: tex-k@cs.umb.edu
  13. > Subject: xdvik-1.6 weird behaviour with SunPro acc on Solaris 2.3
  14. >
  15. >   just for fun I recompiled web2c-6.1 using SunPro's ANSI cc and got
  16. > these messages from xdvi:
  17. > xdvi: Font line10 at 300 not found; using 300 instead.
  18. ...
  19. > The displayed output looks just fine, which is not very surprising.
  20. >
  21. > Simon.
  22.  
  23. The following patch (posted earlier by someone else) fixes those symptoms for
  24. when compiling with Sun's ANSI cc under Solaris 2.x 
  25. (and other compilers/optimizers on other systems).
  26. There is a similar fix to one of the files in the dvipsk directory.
  27.  
  28.  
  29. *** dvi_init.c_dist    Wed Feb  2 07:07:52 1994
  30. --- dvi_init.c    Thu Feb 10 02:49:25 1994
  31. ***************
  32. *** 191,197 ****
  33.           free(fontp->fontname);
  34.           fontp->fontname = font_found;
  35.       }
  36. !     else if (!kpse_check_bitmap_tolerance (size_found / 5.0, dpi))
  37.             Fprintf(stderr, "xdvi: Font %s at %d not found; using %d instead.\n",
  38.             fontp->fontname, dpi, (size_found + 2) / 5);
  39.       fontp->fsize = (float) size_found / 5;
  40. --- 191,197 ----
  41.           free(fontp->fontname);
  42.           fontp->fontname = font_found;
  43.       }
  44. !     else if (!kpse_check_bitmap_tolerance (size_found / 5.0, (double)dpi))
  45.             Fprintf(stderr, "xdvi: Font %s at %d not found; using %d instead.\n",
  46.             fontp->fontname, dpi, (size_found + 2) / 5);
  47.       fontp->fsize = (float) size_found / 5;
  48.